package com.hopu.oa.service.impl.management;

import com.hopu.oa.dao.management.AoaAttendsListDao;
import com.hopu.oa.entity.management.AoaAttendsList;
import com.hopu.oa.service.management.AoaAttendsListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AoaAttendsListServiceImpl implements AoaAttendsListService {

    @Autowired
    private AoaAttendsListDao aoaAttendsListDao;


    @Override
    public List<AoaAttendsList> selectAll(Integer userId, String find, Integer index, Integer size) {
        return aoaAttendsListDao.selectAll(userId, find, index, size);
    }

    @Override
    public List<AoaAttendsList> selectByUserIDAndTime(String time, Integer id) {
        return aoaAttendsListDao.selectByUserIDAndTime(time, id);
    }


}
